<?php
Class UsuarioRecord extends TActiveRecord{
	const  TABLE='usuario'; // Nome na Tabela
	
	public $PKCodLongUsuario;
	public $BooleanIsAdmin;
	public $StrEmail;
	public $StrNome;
	public $StrSenha;
	public $StrUsuario;
	public $StrFone;
	public $StrCel;
	
	
	
	/*
	 * Retorno da instancia de ActiveRecord se Encontrado
	 */
	
	public static function finder($className=__CLASS__){
		return parent::finder($className);
	}

	private $_level;
	public function setLevel($value) {
		$this->_level=TPropertyValue::ensureInteger($value,0);
	}
	public function getLevel($value){
		return $this->_level;
	}
	
	


}
?>